package com.cloud.common.enums;

import lombok.Data;
import lombok.Getter;

/**
 * packageName com.cloud.common.enums
 *
 * @author yanshuanglong
 * @version JDK 8
 * @enumName ResultEnumCode
 * @date 2025/3/20
 * @description 统一返回自定义枚举
 */
@Getter
public enum ResultEnumCode {
    SUCCESS(200, "成功"),FAIL(500,"失败");

    private final int code;
    private final String msg;

   private ResultEnumCode(int code, String msg) {
        this.code = code;
       this.msg = msg;
   }
}
